package cn.smxy.works;

import cn.smxy.client.CategoryClient;
import cn.smxy.client.CollegeClient;
import cn.smxy.client.CommentClient;
import cn.smxy.client.UserClient;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@MapperScan("cn.smxy.works.mapper")
@EnableFeignClients(clients = {UserClient.class, CollegeClient.class, CategoryClient.class, CommentClient.class})
public class WorksApplication {
    public static void main(String[] args) {
        SpringApplication.run(WorksApplication.class, args);
    }
}
